package com.electric.flinkcep.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

public class ModelInfo implements Serializable {

    @JsonProperty("model_name")
    private String modelName;

    @JsonProperty("version")
    private String version;

    public ModelInfo() {
    }

    public ModelInfo(String modelName, String version) {
        this.modelName = modelName;
        this.version = version;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "ModelInfo{" +
                "modelName='" + modelName + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}